/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ajz.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 燃气管道Entity
 * @author whh
 * @version 2017-09-19
 */
public class AjzRiGd extends DataEntity<AjzRiGd> {
	
	private static final long serialVersionUID = 1L;
	private String baseinfoId;		// baseinfo的id
	private String gasProperty;		// 用气性质
	private String idCard;		// 身份证
	private String tableNumber;		// 表单号
	private String businessLicense;		// 工商执照
	private String backUpa;		// back_upa
	private String backUpb;		// back_upb
	private String backUpc;		// back_upc
	private String backUpd;		// back_upd
	private String backUpe;		// back_upe
	
	public AjzRiGd() {
		super();
	}

	public AjzRiGd(String id){
		super(id);
	}

	@Length(min=1, max=64, message="baseinfo的id长度必须介于 1 和 64 之间")
	public String getBaseinfoId() {
		return baseinfoId;
	}

	public void setBaseinfoId(String baseinfoId) {
		this.baseinfoId = baseinfoId;
	}
	
	@Length(min=0, max=1, message="用气性质长度必须介于 0 和 1 之间")
	public String getGasProperty() {
		return gasProperty;
	}

	public void setGasProperty(String gasProperty) {
		this.gasProperty = gasProperty;
	}
	
	@Length(min=0, max=20, message="身份证长度必须介于 0 和 20 之间")
	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	
	@Length(min=0, max=32, message="表单号长度必须介于 0 和 32 之间")
	public String getTableNumber() {
		return tableNumber;
	}

	public void setTableNumber(String tableNumber) {
		this.tableNumber = tableNumber;
	}
	
	@Length(min=0, max=32, message="工商执照长度必须介于 0 和 32 之间")
	public String getBusinessLicense() {
		return businessLicense;
	}

	public void setBusinessLicense(String businessLicense) {
		this.businessLicense = businessLicense;
	}
	
	@Length(min=0, max=255, message="back_upa长度必须介于 0 和 255 之间")
	public String getBackUpa() {
		return backUpa;
	}

	public void setBackUpa(String backUpa) {
		this.backUpa = backUpa;
	}
	
	@Length(min=0, max=255, message="back_upb长度必须介于 0 和 255 之间")
	public String getBackUpb() {
		return backUpb;
	}

	public void setBackUpb(String backUpb) {
		this.backUpb = backUpb;
	}
	
	@Length(min=0, max=255, message="back_upc长度必须介于 0 和 255 之间")
	public String getBackUpc() {
		return backUpc;
	}

	public void setBackUpc(String backUpc) {
		this.backUpc = backUpc;
	}
	
	@Length(min=0, max=255, message="back_upd长度必须介于 0 和 255 之间")
	public String getBackUpd() {
		return backUpd;
	}

	public void setBackUpd(String backUpd) {
		this.backUpd = backUpd;
	}
	
	@Length(min=0, max=255, message="back_upe长度必须介于 0 和 255 之间")
	public String getBackUpe() {
		return backUpe;
	}

	public void setBackUpe(String backUpe) {
		this.backUpe = backUpe;
	}
	
}